Optimal. Leaf size=48 \[ \frac{1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right )+\frac{b x}{4 c^3}-\frac{b \tanh ^{-1}(c x)}{4 c^4}+\frac{b x^3}{12 c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0289794, antiderivative size = 48, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {5916, 302, 206} \[ \frac{1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right )+\frac{b x}{4 c^3}-\frac{b \tanh ^{-1}(c x)}{4 c^4}+\frac{b x^3}{12 c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5916
Rule 302
Rule 206
Rubi steps
\begin{align*} \int x^3 \left (a+b \tanh ^{-1}(c x)\right ) \, dx &=\frac{1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right )-\frac{1}{4} (b c) \int \frac{x^4}{1-c^2 x^2} \, dx\\ &=\frac{1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right )-\frac{1}{4} (b c) \int \left (-\frac{1}{c^4}-\frac{x^2}{c^2}+\frac{1}{c^4 \left (1-c^2 x^2\right )}\right ) \, dx\\ &=\frac{b x}{4 c^3}+\frac{b x^3}{12 c}+\frac{1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right )-\frac{b \int \frac{1}{1-c^2 x^2} \, dx}{4 c^3}\\ &=\frac{b x}{4 c^3}+\frac{b x^3}{12 c}-\frac{b \tanh ^{-1}(c x)}{4 c^4}+\frac{1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right )\\ \end{align*}
Mathematica [A] time = 0.0086165, size = 70, normalized size = 1.46 \[ \frac{a x^4}{4}+\frac{b x}{4 c^3}+\frac{b \log (1-c x)}{8 c^4}-\frac{b \log (c x+1)}{8 c^4}+\frac{b x^3}{12 c}+\frac{1}{4} b x^4 \tanh ^{-1}(c x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 58, normalized size = 1.2 \begin{align*}{\frac{{x}^{4}a}{4}}+{\frac{b{x}^{4}{\it Artanh} \left ( cx \right ) }{4}}+{\frac{b{x}^{3}}{12\,c}}+{\frac{bx}{4\,{c}^{3}}}+{\frac{b\ln \left ( cx-1 \right ) }{8\,{c}^{4}}}-{\frac{b\ln \left ( cx+1 \right ) }{8\,{c}^{4}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.959693, size = 82, normalized size = 1.71 \begin{align*} \frac{1}{4} \, a x^{4} + \frac{1}{24} \,{\left (6 \, x^{4} \operatorname{artanh}\left (c x\right ) + c{\left (\frac{2 \,{\left (c^{2} x^{3} + 3 \, x\right )}}{c^{4}} - \frac{3 \, \log \left (c x + 1\right )}{c^{5}} + \frac{3 \, \log \left (c x - 1\right )}{c^{5}}\right )}\right )} b \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.02546, size = 127, normalized size = 2.65 \begin{align*} \frac{6 \, a c^{4} x^{4} + 2 \, b c^{3} x^{3} + 6 \, b c x + 3 \,{\left (b c^{4} x^{4} - b\right )} \log \left (-\frac{c x + 1}{c x - 1}\right )}{24 \, c^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.16716, size = 53, normalized size = 1.1 \begin{align*} \begin{cases} \frac{a x^{4}}{4} + \frac{b x^{4} \operatorname{atanh}{\left (c x \right )}}{4} + \frac{b x^{3}}{12 c} + \frac{b x}{4 c^{3}} - \frac{b \operatorname{atanh}{\left (c x \right )}}{4 c^{4}} & \text{for}\: c \neq 0 \\\frac{a x^{4}}{4} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.2352, size = 92, normalized size = 1.92 \begin{align*} \frac{1}{8} \, b x^{4} \log \left (-\frac{c x + 1}{c x - 1}\right ) + \frac{1}{4} \, a x^{4} + \frac{b x^{3}}{12 \, c} + \frac{b x}{4 \, c^{3}} - \frac{b \log \left (c x + 1\right )}{8 \, c^{4}} + \frac{b \log \left (c x - 1\right )}{8 \, c^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]